@charset "UTF-8";

// 布局
@mixin  flex($direction:column,$inline:block) {
  display:  if($inline == block,flex,inline-flex);
  flex-direction: $direction;
  flex-wrap: wrap;
}


@mixin panel($bgcolor:#fff,$padding:0,$margin:0px,$height:112px,$txtPadding:0 32px,$color:#333,$fontSize:32px){
  background: $bgcolor;
  padding: $padding;
  margin: $margin;
  >h4{
    height: $height;
    line-height: $height;
    padding: $txtPadding;
    text-overflow:ellipsis;
    white-space: nowrap;
    overflow: hidden;
    text-align: center;
    color: $color;
    font-size: $fontSize
  }
}